package com.xuetang9.t9.hotel.beans;

import java.io.Serializable;
import java.util.List;

/**
 * 楼层
 * @author PANG
 */
public class Floor implements Serializable {

    /**
     *楼层id
     */
    private Integer floorId;

    /*
    楼层编号
     */
    private Integer floorName;
    /*
    楼层备注
     */
    private String floorComm;


    /**
     * 该楼层的全部房间
     */
    List<RoomInfo> rooms;

    public Integer getFloorId() {
        return floorId;
    }

    public void setFloorId(Integer floorId) {
        this.floorId = floorId;
    }

    public Integer getFloorName() {
        return floorName;
    }

    public void setFloorName(Integer floorName) {
        this.floorName = floorName;
    }

    public String getFloorComm() {
        return floorComm;
    }

    public void setFloorComm(String floorComm) {
        this.floorComm = floorComm;
    }

    public List<RoomInfo> getRooms() {
        return rooms;
    }

    public void setRooms(List<RoomInfo> rooms) {
        this.rooms = rooms;
    }

    @Override
    public String toString() {
        return "Floor{" +
                "floorId=" + floorId +
                ", floorName=" + floorName +
                ", floorComm='" + floorComm + '\'' +
                ", rooms=" + rooms +
                '}';
    }
}
